
--爆炸范围控制器
local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.BaseComponent());


function M.new(self)
	return M(self);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);
end;


function M.dtor(self)
	self.opening=nil
	M.super.dtor(self);
end;

function M.Open(self)
	self.opening=true
	--print("Open",self.opening)

end

function M.close(self)
	self.opening=nil
end

function M.print(self,...)
	--print("debug",self.opening)
	if self.opening then
		print(self.parent,":",unpack({...}))
	end
	
end

function M.warn(self,...)
	if self.opening then
		warn(self.parent,":",unpack({...}))
	end
	
end

return M;